﻿using System.Reflection;
using CppAst;

namespace ast;

public class ClassInfo
{
    public CppClass ClassType;

    // public List<FunctionInfo> Constructors = new();
    // public List<FunctionInfo> Destructors = new();
    public FileInfo? FileInfo;
    public SortedDictionary<string, List<FunctionInfo>> FunctionInfos = new();
    public  List<CppField> PropertyInfo=new ();
    public ModuleInfo ModuleInfo;

    public new string ToString()
    {
        return ClassType.FullName;
    }
}

public class TemplateExportInfo
{
    public string Include = "";

    public TemplateExportInfo(string include)
    {
        Include = include;
    }
}